#pragma once
#include <map>
#include <npapi.h>
#include <npruntime.h>
#include "npactivex.h"
class ObjMapper
{
public:

	ObjMapper(void)
	{
	}

	~ObjMapper(void)
	{
	}

	void AddObjectMapping(NPObject* obj, NPP instance);

	void DeleteObjectMapping(NPObject* obj) {
		// objmap_.erase(obj);
	}

	NPP Lookup(NPObject *obj, NPP instance);

private:
	static const char* IdentifierString;
};

extern ObjMapper objMapper;
